ABC143 C - Slimes
https://atcoder.jp/contests/abc143/tasks/abc143_c
提出
code: python
n = int(input())
s = input()
slims = [s
0
]
for i in range(1, n):
if (s
i
== slims
-1
):
continue
else:
slims.append(s
i
)
print(len(slims))